﻿using PublicCommon;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Approval.Domain
{
    /// <summary>
    /// 审批采购关系表
    /// </summary>
    [Table("PurchaseRelation")]
    public class PurchaseRelation : Audit
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 采购Id
        /// </summary>
        public string? PId { get; set; }
        /// <summary>
        /// 审批人Id
        /// </summary>
        public int? ApprovalId { get; set; }
        /// <summary>
        /// 审批人名称
        /// </summary>
        public string? ApprovalName { get; set; }
        /// <summary>
        /// 审批状态
        /// </summary>
        public int? ApprovalState { get; set; }
        /// <summary>
        /// 审批备注
        /// </summary>
        public string? ApprovalDesc { get; set; }
    }
}
